package com.dm.cloud.auth.common.po;

import com.dm.cloud.basepo.po.BasePo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
   * @author hcx
   * @type AuthApp.java
   * @desc AuthApp
   */

@Entity
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "T_AUTH_APP")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "AuthApp")
public class AuthApp extends BasePo {

      /** 应用名称 **/ 
      @Schema(description = "应用名称")
      @Column(name = "name")
      private String name;
      /** 应用标识 **/
      @Schema(description = "应用标识")
      @Column(name = "app_code")
      private String appCode;
      /** 应用资源服务ID **/
      @Schema(description = "应用资源服务ID")
      @Column(name = "client_id")
      private String clientId;
      /** 应用描述 **/
      @Schema(description = "应用描述")
      @Column(name = "remark")
      private String remark;

}
